//
//  KFDReachability.h
//  KFD
//
//  Created by JIRENTIANXIANG on 7/9/15.
//  Copyright © 2015 kfd. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <Reachability/Reachability.h>

typedef void(^KFDReachabilityChangedAction)(NetworkStatus internetStatus,NetworkStatus wifiStatus,NetworkStatus);

@interface KFDReachability : NSObject

@property (assign,readonly,nonatomic) NetworkStatus internetStatus;
@property (assign,readonly,nonatomic) NetworkStatus wifiStatus;
@property (assign,readonly,nonatomic) NetworkStatus hostStatus;

@property (copy,nonatomic) KFDReachabilityChangedAction reachabilityChangedAction;

+(KFDReachability*)sharedReachability;

-(void)startNotifiers;
-(void)stopNotifiers;

@end
